package viewer

import "github.com/lishimeng/app-starter/server"

const (
	TokenHeader = "X-File-Otp"
	TokenParam  = "t"
)

func checkToken(ctx server.Context) {

	tokenContent := ctx.C.GetHeader(TokenHeader)
	if tokenContent == "" {

	}
	ctx.C.Next()
}
